<script src="<?php echo base_url("/asset/jquery.js"); ?>"></script>

<script>
$.post("http://localhost/salam-halal/trunk/user/register",{
	username:"new babak2",
	email:"babak2000t2@yahoo.com",
	password:"123456",
	confirm_password:"123456"
});

$.post("http://localhost/salam-halal/trunk/user/login",{
	email:"babak.taraghi@gmail.com",
	password:"123456"
});

$.post("http://localhost/salam-halal/trunk/search/restaurants",{
	email:"babak.taraghi@gmail.com",
	password:"123456"
});
$.post("http://localhost/salam-halal/trunk/share/post",{
	email:"babak.taraghi@gmail.com",
	password:"123456",
	name:"test",
	image:"testurl",
	dish_rate:"2",
	service_rate:"3",
	restaurant_id:"10000",
	user_id:"999",
	content:"all good"
});
</script>